package chapter_five.text58_4;

/**
 * Data time:2021/9/18 14:57
 * StudentID:2019112118
 * Author:hgw
 * Description:
 */
public class Client {
    public static void main(String[] args) {
        SkinFactory factory;
        Television tv;
        AirConditioner ac;
        factory = new HairSkinFactory();
        tv = factory.createTelevision();
        ac = factory.createAirConditioner();
        tv.whatchTv();
        ac.display();
    }
}
